<template>
	<div class="lists">
	<el-row class="cars">
		<el-col class="car" v-if="item.isactivity==1"  v-on:click.native="$router.push({name: 'Vehicle',params: {detailQuery: {table:'detail',id:item.id}}})" :span="11" v-for="(item, index) in bodys" :key="index">
			<el-card :body-style="{ padding: '0px' }" class="car-box">
				<img :src="item.pic" style="width: 100%;" class="image">
				<span class="car-box-GuanZhu">{{item.rank_index}}热度值</span>
				<div style="padding: 8px;">
					<div class="car-box-name" style="height: 65px;">{{item.carname}}</div>
					<p class="car-box-xh">{{item.cityname}}</p>
					<div class="bottom clearfix car-box-b">
						<span class="car-box-JiaGe">{{item.price}} 万</span>
						<button>找相似</button>
					</div>
				</div>
			</el-card>
		</el-col>
	</el-row>
	</div>
</template>

<script>
	export default{
		name:"CarListTJ",
		data(){
			return{
				
			}
		},
		props:["bodys"]
			
		
	}
</script>

<style>
.car{
	width:49%;
}
</style>
